/*
 * 
 * Libman
 * 
 * Daniel Kaufmann, Martin Lang, Simon Moosbrugger,
 * Stefan Mayer, Stephan Halbeisen
 * 
 */
package model;

/**
 * The Role Group.
 */
public class Role implements java.io.Serializable {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -1864658793756049828L;
	
	/** The id. */
	private int id;
	
	/** The name. */
	private String name;

	/**
	 * Instantiates a new group.
	 */
	public Role() {
	}

	/**
	 * Instantiates a new group.
	 * 
	 * @param name
	 *            the name
	 */
	public Role(String name) {
		this.name = name;
	}

	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * Sets the id.
	 * 
	 * @param id
	 *            the new id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name
	 *            the new name
	 */
	public void setName(String name) {
		this.name = name;
	}
}
